<!doctype html>
<html class="no-js fixed-layout" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>梓树下听昕阳 | 个人中心</title>
    <link rel="icon" type="image/x-icon" href="https://zhy-myblog.oss-cn-shenzhen.aliyuncs.com/static/img/favicon.ico">

    <link href="https://cdn.bootcss.com/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/layui.css" media="all" />
    <link rel="stylesheet" href="/css/admin.css">
    <link rel="stylesheet" href="/css/all.css">
    <link rel="stylesheet" href="/css/user.css">
    <link rel="stylesheet" href="/css/plugs_paging.css">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

    <link rel="stylesheet" href="/css/public.css" media="all" />
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/underscore.js/1.9.1/underscore-min.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>

</head>
<body>

<div class="header">
    <div class="am-topbar" style="margin-bottom: 0">
        <h1 class="am-topbar-brand">
            <a href="/" class="blogTitleName"><img src="https://zhy-myblog.oss-cn-shenzhen.aliyuncs.com/static/img/zhy.png" class="imgStyle">梓树下听昕阳</a>
        </h1>
        <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" style="background-color: #CCCCCC;border-color: white;border-radius: 6px" data-am-collapse="{target: '#doc-topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

        <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse">
            <ul class="am-nav am-nav-pills am-topbar-nav">
                <li><a class="top_bar" href="/" style="cursor: pointer;"><span class="fa fa-home"></span>&nbsp;首页</a></li>
                <li><a class="top_bar" href="/categories/toCategories" style="cursor: pointer;"><span class="fa fa-th"></span>&nbsp;分类</a></li>
                <li><a class="top_bar" href="/archives/toArchives" style="cursor: pointer;"><span class="fa fa-archive"></span>&nbsp;归档</a></li>
                <!--<li><a class="top_bar" href="tags.html" style="cursor: pointer;"><span class="fa fa-tags"></span>&nbsp;标签</a></li>-->
                <!--<li><a class="top_bar" href="update.html" style="cursor: pointer;"><span class="fa fa-calendar-plus-o"></span>&nbsp;更新</a></li>-->
                <li><a class="top_bar" href="/main/toFriendlyLink" style="cursor: pointer;"><span class="fa fa-street-view"></span>&nbsp;友链</a></li>
                <li><a class="top_bar" href="/main/toAboutMe" style="cursor: pointer;"><span class="fa fa-user"></span>&nbsp;关于我</a> </li>
            </ul>

            <div class="am-topbar-right" >
                <a href="/toregister" class="am-btn am-btn-primary am-topbar-btn am-btn-sm" style="color: white">注册</a>
            </div>
            <div class="am-topbar-right">
                <a href="/login" class="loginBtn am-btn am-btn-primary am-topbar-btn am-btn-sm" style="color: white">登录</a>
            </div>
            <div class="am-topbar-right writing am-hide-md-down">
                <a  href="/editor" target="_blank" style="text-decoration: none">
                    <img class="am-circle" src="https://zhy-myblog.oss-cn-shenzhen.aliyuncs.com/static/img/loading.gif" data-src="https://zhy-myblog.oss-cn-shenzhen.aliyuncs.com/static/img/writing.png">
                    <span class="write-word">写博客</span>
                </a>
            </div>

        </div>
    </div>
</div>

<div class="am-cf admin-main" style="padding-top: 0">

    <!--左侧-->
    <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
        <div class="am-offcanvas-bar admin-offcanvas-bar">
            <ul class="userList am-list admin-sidebar-list">
                <li class="clickLi personalDate" ><a><i class="fa fa-vcard fa-lg"></i> 个人资料</a></li>
                <li class="clickLi basicSetting"><a><i class="fa fa-cog fa-lg"></i> 修改密码</a></li>
                <li class="clickLi leaveMessage"><a><span class="am-icon-puzzle-piece"></span> 相册管理</a></li>
                <li class="clickLi privateWord"><a><span class="am-icon-check"></span></i> 文章管理</a></li>
            </ul>
            <div class="am-panel am-panel-default admin-sidebar-panel">
                <div class="am-panel-bd">
                    <p><span class="am-icon-bookmark"></span> 公告</p>
                    <p>时光静好，与君语；细水流年，与君同。—— 松松</p>
                </div>
            </div>
        </div>
    </div>
    <!--右侧-->
    <div class="admin-content">
        <div class="userInfo">
            <div id="personalDate">
                <div class="zhy-personalDate">
                    <div class="personalDateHeadPortrait">
                        <div class="headPortrait">
                            <img id="headPortrait" src="https://zhy-myblog.oss-cn-shenzhen.aliyuncs.com/static/img/loading.gif"/>
                        </div>
                        <div class="headChange">
                            <div class="headPortraitChange">
                                <input id="imgTest" type="file" onchange="imgChange(event)" accept=".gif,.jpg,.jpeg,.png">
                                <a>更改头像</a>
                            </div>
                        </div>

                    </div>
                    <div class="personalDateForm">
                        <form id="personalDateForm">
                            <div class="userNameTable">
                                <label for="username">昵称</label>
                                <input class="formInput" type="text" id="username" placeholder="填写你的昵称">
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                            </div>
                            <div class="phoneTable">
                                <label for="userphone">手机</label>
                                <input class="formInput" type="text" id="userphone" placeholder="这是您的唯一标识哦">
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                            </div>
                            <div class="trueNameTable">
                                <label for="trueName">姓名</label>
                                <input class="formInput" type="text" id="trueName" placeholder="填写你的真实姓名">
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                            </div>
                            <div class="birthdayTable">
                                <label for="birthday">生日</label>
                                <input class="formInput" type="text" id="birthday" data-am-datepicker="{format: 'yyyy-mm-dd', viewMode: 'years'}" placeholder="填写你的生日"/>
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default"/>
                            </div>
                            <div class="genderTable">
                                <label>性别</label>
                                <label class="am-radio-inline" style="width: 60px">
                                    <input class="formInput" type="radio" id="male" name="gender" value="male" data-am-ucheck>
                                    <span class="fa fa-male fa-lg"></span>
                                </label>
                                <label class="am-radio-inline" style="width: 60px">
                                    <input class="formInput" type="radio" id="female" name="gender" value="female" data-am-ucheck>
                                    <span class="fa fa-female fa-lg"></span>
                                </label>
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default"/>
                            </div>
                            <div class="emailTable">
                                <label for="email">邮箱</label>
                                <input class="formInput" type="email" id="email" placeholder="填写你的邮箱">
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                            </div>
                            <div class="personalBriefTable">
                                <label for="personalBrief">个人简介</label>
                                <textarea class="formInput" id="personalBrief" placeholder="填写你的个人简介"></textarea>
                                <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                            </div>
                            <button type="button" id="savePersonalDateBtn" class="savePersonalDateBtn am-btn am-btn-warning">保存</button>
                        </form>
                    </div>
                </div>
            </div>
            <div id="basicSetting">
                <div class="zhy-basicSetting">
                    <form id="basicSettingForm">
                        <div class="phoneTable">
                            <label for="phone">手机</label>
                            <input class="formInput" type="text" id="phone" placeholder="填写你的手机号">
                            <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                        </div>
                        <div class="authCodeTable">
                            <label for="authCode">验证码</label>
                            <input class="formInput" type="text" id="authCode" placeholder="填写验证码">
                            <button type="button" id="authCodeBtn" class="authCodeBtn am-btn am-btn-secondary am-round am-btn-sm">获取验证码</button>
                            <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                        </div>
                        <div class="passwordTable">
                            <label for="password">新密码</label>
                            <input class="formInput" type="password" id="password" placeholder="填写你的密码">
                            <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                        </div>
                        <div class="phoneTable">
                            <label for="surePassword">确认密码</label>
                            <input class="formInput" type="password" id="surePassword" placeholder="再次填写你的密码">
                            <hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
                        </div>
                        <button type="button" id="changePasswordBtn" class="changePasswordBtn am-btn am-btn-warning">保存</button>
                    </form>
                </div>
            </div>
            <div id="leaveMessage">
                <form class="layui-form">
                    <blockquote class="layui-elem-quote news_search">
                        <div class="layui-inline">
                            <input type="checkbox" name="selectAll" id="selectAll" lay-filter="selectAll" lay-skin="primary" title="全选">
                        </div>
                        <div class="layui-inline">
                            <a class="layui-btn layui-btn-sm layui-btn-danger batchDel">批量删除</a>
                        </div>
                        <div class="layui-inline">
                            <a class="layui-btn layui-btn-sm uploadNewImg">上传新图片</a>
                        </div>
                    </blockquote>
                    <ul class="layer-photos-demo" id="Images">

                    </ul>
                </form>
            </div>
            <div id="privateWord">
                <div class="subject">
                    <h4>文章管理</h4>
                    <div class="articles">
                        <div class="am-g">
                            <div class="am-u-sm-12">
                                <table class="am-table am-table-bd am-table-striped admin-content-table">
                                    <thead>
                                    <tr>
                                        <th>文章标题</th><th>发布时间</th><th>文章分类</th><th>作者</th><th>浏览量</th><th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody class="articleManagementTable">
                                    <tr>
                                        <td><a href="">小迪</a></td>
                                        <td>2019-01-15</td>
                                        <td>美女</td>
                                        <td>松松</td>
                                        <td><span class="am-badge am-badge-success">0人阅读</span></td>
                                        <td>
                                            <div class="am-dropdown" data-am-dropdown>
                                                <button class="articleManagementBtn articleEditor am-btn am-btn-secondary">编辑</button>
                                                <button class="articleDeleteBtn articleDelete am-btn am-btn-danger">删除</button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><a href="">小迪</a></td>
                                        <td>2019-01-15</td>
                                        <td>美女</td>
                                        <td>松松</td>
                                        <td><span class="am-badge am-badge-success">0人阅读</span></td>
                                        <td>
                                            <div class="am-dropdown" data-am-dropdown>
                                                <button class="articleManagementBtn articleEditor am-btn am-btn-secondary">编辑</button>
                                                <button class="articleDeleteBtn articleDelete am-btn am-btn-danger">删除</button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><a href="">小迪</a></td>
                                        <td>2019-01-15</td>
                                        <td>美女</td>
                                        <td>松松</td>
                                        <td><span class="am-badge am-badge-success">0人阅读</span></td>
                                        <td>
                                            <div class="am-dropdown" data-am-dropdown>
                                                <button class="articleManagementBtn articleEditor am-btn am-btn-secondary">编辑</button>
                                                <button class="articleDeleteBtn articleDelete am-btn am-btn-danger">删除</button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><a href="">小迪</a></td>
                                        <td>2019-01-15</td>
                                        <td>美女</td>
                                        <td>松松</td>
                                        <td><span class="am-badge am-badge-success">0人阅读</span></td>
                                        <td>
                                            <div class="am-dropdown" data-am-dropdown>
                                                <button class="articleManagementBtn articleEditor am-btn am-btn-secondary">编辑</button>
                                                <button class="articleDeleteBtn articleDelete am-btn am-btn-danger">删除</button>
                                            </div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--成功消息盒-->
    <div class="notice successNoticeAlert am-animation-slide-top">
        <span class="successNotice"></span>
    </div>
    <!--失败消息盒-->
    <div class="notice dangerNoticeAlert am-animation-slide-top">
        <span class="dangerNotice"></span>
    </div>
    <!--删除文章模态框-->
    <div class="am-modal am-modal-confirm" tabindex="-1" id="deleteAlter">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">删除文章</div>
            <div class="am-modal-bd">
                你确定要删除吗？删除了就无法恢复了呦!
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn" data-am-modal-cancel>取消</span>
                <span class="sureArticleDeleteBtn am-modal-btn" data-am-modal-confirm>确定</span>
            </div>
        </div>
    </div>
</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>


<script src="/js/user.js"></script>
<script src="/js/plugs_paging.js"></script>
<script type="text/javascript" src="/js/layui.js"></script>
<script type="text/javascript" src="/js/images.js"></script>
</body>
</html>
